﻿$def with (datas) 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html> 
<head> 
<title>blog</title> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
</head> 
<body> 
<div id="wrapper"> 
<div id="logo"> 
<p>Blog</p> 
</div> 
<div id="nav"> 
</div> 
<div id="nav"> 
<a href="/login">Log in</a> 
</div>
<div id="article"> 
$for data in datas: 
    <div id="time"> 
    <p>$data.t</p> 
    </div> 
    <div id="content"> 
    <p>$data.content</p> 
    </div> 
    <div id="author"> 
    <p>Post by $data.author</p> 
    </div> 
</div> 
</div> 
<div id="copyright"> 
<p>Copyright &copy; 2008 otherrrr. All rights reserved.</p> 
</div> 
</div> 
</body> 
</html>